using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.HomeRefinance
{
    public class HFProperty
    {
        public HFProperty()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _hfpropertyid;
        private Int64 _hfid;
        private Int64 _hfpersonnelid;
        private float _hfpropertyprice;
        private DateTime _hfpurchasedate;
        private string _hfpostcode;
        private string _hfbhno;
        private string _hfhomeno;
        private string _hfstreetname;
        private Int16 _hfpropertytype;
        private string _hfforwhat;
        private float _hfexprentalamount;
        private Int16 _hfcompletestatus;
        private DateTime _hftopdate;
        private Int16 _hfleasepropertytype;
        private DateTime _hfleasehold;
        private bool _hfisrenovate;
        private float _hfrenovateamount;
        private bool _hfislanded;
        private float _hflandarea;
        private string _hflandareaunit;
        private float _hfbuiltarea;
        private string _hfbuiltareaunit;
        //common field name
        private Int64 _refceuserid;
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;

        public Int64 HFPropertyID
        {
            get { return _hfpropertyid; }
            set { _hfpropertyid = value; }
        }

        public Int64 HFID
        {
            get { return _hfid; }
            set { _hfid = value; }
        }

        public Int64 HFPersonnelID
        {
            get { return _hfpersonnelid; }
            set { _hfpersonnelid = value; }
        }

        public float HFPropertyPrice
        {
            get { return _hfpropertyprice; }
            set { _hfpropertyprice = value; }
        }

        public DateTime HFPurchaseDate
        {
            get { return _hfpurchasedate; }
            set { _hfpurchasedate = value; }
        }

        public string HFPostCode
        {
            get { return _hfpostcode; }
            set { _hfpostcode = value; }
        }

        public string HFBHNo
        {
            get { return _hfbhno; }
            set { _hfbhno = value; }
        }

        public string HFHomeNo
        {
            get { return _hfhomeno; }
            set { _hfhomeno = value; }
        }

        public string HFStreetName
        {
            get { return _hfstreetname; }
            set { _hfstreetname = value; }
        }

        public Int16 HFPropertyType
        {
            get { return _hfpropertytype; }
            set { _hfpropertytype = value; }
        }

        public string HFForWhat
        {
            get { return _hfforwhat; }
            set { _hfforwhat = value; }
        }

        public float HFExpRentalAmount
        {
            get { return _hfexprentalamount; }
            set { _hfexprentalamount = value; }
        }

        public Int16 HFCompleteStatus
        {
            get { return _hfcompletestatus; }
            set { _hfcompletestatus = value; }
        }

        public DateTime HFTOPDate
        {
            get { return _hftopdate; }
            set { _hftopdate = value; }
        }

        public Int16 HFLeasePropertyType
        {
            get { return _hfleasepropertytype; }
            set { _hfleasepropertytype = value; }
        }

        public DateTime HFLeaseHold
        {
            get { return _hfleasehold; }
            set { _hfleasehold = value; }
        }

        public bool HFIsRenovate
        {
            get { return _hfisrenovate; }
            set { _hfisrenovate = value; }
        }

        public float HFRenovateAmount
        {
            get { return _hfrenovateamount; }
            set { _hfrenovateamount = value; }
        }

        public bool HFIsLanded
        {
            get { return _hfislanded; }
            set { _hfislanded = value; }
        }

        public float HFLandArea
        {
            get { return _hflandarea; }
            set { _hflandarea = value; }
        }

        public string HFLandAreaUnit
        {
            get { return _hflandareaunit; }
            set { _hflandareaunit = value; }
        }

        public float HFBuiltArea
        {
            get { return _hfbuiltarea; }
            set { _hfbuiltarea = value; }
        }

        public string HFBuiltAreaUnit
        {
            get { return _hfbuiltareaunit; }
            set { _hfbuiltareaunit = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }


        public void ClearFields()
        {
            _hfid = 0;
            _hfpersonnelid = 0;
            _hfpropertyprice = 0.0f;
            _hfpurchasedate = CE.Global.General.GetUTCDateTime();
            _hfpostcode = "";
            _hfbhno = "";
            _hfhomeno = "";
            _hfstreetname = "";
            _hfpropertytype = 0;
            _hfforwhat = "";
            _hfexprentalamount = 0.0f;
            _hfcompletestatus = 0;
            _hftopdate = CE.Global.General.GetUTCDateTime();
            _hfleasepropertytype = 0;
            _hfleasehold = CE.Global.General.GetUTCDateTime();
            _hfisrenovate = false;
            _hfrenovateamount = 0.0f;
            _hfislanded = false;
            _hflandarea = 0.0f;
            _hflandareaunit = "";
            _hfbuiltarea = 0.0f;
            _hfbuiltareaunit = "";
            //common field name
            _refceuserid = 0;
            _vieweddetailid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";

        }

    }
}
